<html>
<head>
    <title>XBRLAPI Installing the Jetty servelet container</title>
    <link rel="stylesheet" href="/css/styles.css" type="text/css"/>
    <script type="text/javascript">
        var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
        document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
        try {
            var pageTracker = _gat._getTracker("UA-11401995-1");
            pageTracker._setDomainName("none");
            pageTracker._setAllowLinker(true);
            pageTracker._trackPageview();
        } catch (err) {
        }</script>
</head>


<body>

<div class="logo_container">
	<span class="logo">
		<a class="title" href="/">XBRLAPI</a>
	</span>
	<span class="logo_subscript">
		<a class="title" href="http://en.wikipedia.org/wiki/Free_and_open_source_software">Free Open-Source Software</a>
	</span>
</div>

<div id="navcontainer">
    <form action="http://www.xbrlapi.org/search.html" id="cse-search-box">
        <div>
            <input type="hidden" name="cx" value="partner-pub-3957505011939955:jqid48zd81o"/>
            <input type="hidden" name="cof" value="FORID:10"/>
            <input type="hidden" name="ie" value="ISO-8859-1"/>
            <input type="text" name="q" size="31"/>
            <input type="submit" name="sa" value="Search"/>
        </div>
    </form>

    <script
            type="text/javascript"
            src="http://www.google.com/cse/brand?form=cse-search-box&amp;lang=en">
    </script>

    <ul id="navlist">
        <li><a href="/">Home</a></li>
        <li><a href="testConfigurationFile.html">Configuration Properties</a></li>
    </ul>

    <script type="text/javascript"><!--
    google_ad_client = "pub-3957505011939955";
    /* XBRLAPI site */
    google_ad_slot = "4927123290";
    google_ad_width = 160;
    google_ad_height = 600;
    //-->
    </script>
    <script type="text/javascript"
            src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>

</div>
<div class="content">

    <h1>Installing the Jetty servlet container</h1>

    <h2>
        Overview
    </h2>

    <p>
        Some of the data store implementations for XBRLAPI are designed to
        run within Java servlet containers. Moreover, XBRLAPI itself is suitable
        for use by Java servlets and so can motivate a need to have an installed
        Java servlet container.
    </p>

    <p>
        This page gives terse suggestions for setting up the Jetty servlet
        container to host XML database that can act as data stores for XBRLAPI.
        More details on Jetty installation and configuration are available from
        <a href="http://docs.codehaus.org/display/JETTY/Downloading+and+Installing">Jetty documentation</a>.
    </p>

    <h2>Obtaining and installing Jetty</h2>

    <p>XBRLAPI has been tested with XML databases running from within both
        Tomcat and Jetty. This document covers Jetty which can be downloaded
        from <a href="http://jetty.mortbay.org">jetty.mortbay.org</a>. Go to the download page
        and get the zip file that contains the latest version of Jetty.
    </p>

    <p>Unpack the zip file into the location that you want Jetty to be
        installed. Generally, at this point Jetty will be installed and running
        from http://localhost:8080/. Open that URL (or another if you have
        configured Jetty to use a different port or domain name) to see if it
        worked. If it failed, follow the Jetty configuration instructions that
        are available on the Jetty website.</p>

    <p>
        <a href="http://sourceforge.net/projects/xbrlapi"><img
                src="http://sflogo.sourceforge.net/sflogo.php?group_id=135539&type=11" width="120" height="30"
                border="0"
                alt="Get Java XBRL API implementation at SourceForge.net. Fast, secure and Free Open Source software downloads"/></a>
    </p>
</div>

</body>
</html>
